﻿<%@ Page Title="" Language="C#" MasterPageFile="~/View/Master.Master" AutoEventWireup="true" CodeBehind="EmpViewReqHisDetails.aspx.cs" Inherits="PresentationLayer.View.DepartmentEmployee.EmpViewReqHisDetails" %>

<%@ Register src="../mainMenu.ascx" tagname="mainMenu" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
    .style12
    {
        width: 701px;
        text-align: left;
        margin-left: 0px;
    }
    .style18
    {
    }
    .style13
    {
        width: 42px;
            height: 50px;
        }
    .style16
    {
        width: 120px;
            height: 50px;
        }
    .style20
    {
        width: 82px;
    }
    .style21
    {
        width: 127px;
            height: 50px;
        }
    .style22
    {
        width: 63px;
            height: 50px;
        }
    .style23
    {
        height: 39px;
    }
        .style24
        {
            width: 107px;
            height: 115px;
        }
        .style26
        {
            height: 115px;
        }
        .style27
        {
            width: 82px;
            height: 115px;
        }
        .style28
        {
            width: 107px;
            height: 50px;
        }
        .style30
        {
            height: 50px;
        }
        .style31
        {
            width: 82px;
            height: 50px;
        }
        .style32
        {
            height: 50px;
            width: 46px;
        }
        .style33
        {
            width: 27px;
        }
        .style35
        {
            height: 115px;
            width: 27px;
        }
        .style36
        {
            width: 27px;
            height: 50px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <table width="100%">
    <tr>
        <td style="height:auto;width:200px;vertical-align:top;">

            <uc1:mainMenu ID="mainMenu1" runat="server" />

        </td>
        
        
        <td>
        <div style="vertical-align:top;">
        <center>

            <h2 class="style12">
                View Requisition History </h2> </center>
          
        <table class="style4" style="margin-top: 0px" bgcolor="White">
            <tr>
                <td bgcolor="White" class="style23">
                    &nbsp;</td>
                <td bgcolor="White" class="style33">
                    &nbsp;</td>
                <td bgcolor="White" class="style18" colspan="7">
                    <asp:Label ID="Label4" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td bgcolor="White" class="style28">
                    <asp:Label ID="Label3" runat="server" BackColor="White" 
                        Text="Requisition Type"></asp:Label>
                </td>
                <td bgcolor="White" class="style36">
                    <asp:DropDownList ID="ddRequisition" runat="server" Height="20px" 
                        style="margin-left: 0px" Width="120px" AppendDataBoundItems="True" 
                        AutoPostBack="True" 
                        onselectedindexchanged="ddRequisition_SelectedIndexChanged">
                        <asp:ListItem Value="All">Select All</asp:ListItem>
                    </asp:DropDownList>
                    </td>
                <td bgcolor="White" class="style32">
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="View" />
                </td>
                <td bgcolor="White" class="style13">
                    &nbsp;</td>
                <td bgcolor="White" class="style16">
                    &nbsp;</td>
                <td bgcolor="White" class="style30">
                    &nbsp;</td>
                <td bgcolor="White" class="style22">
                    &nbsp;</td>
                <td bgcolor="White" class="style21">
                    &nbsp;</td>
                <td bgcolor="White" class="style31">
                    &nbsp;</td>
                <td class="style30">
                </td>
            </tr>
            </table>
            <table>
            <tr>
            <td class="style38">
                    <asp:Label ID="Label1" runat="server" Text="From Date"></asp:Label>
                :
                    <asp:ImageButton 
                        ID="ImgbtnFrom" runat="server" Height="22px" ImageUrl="~/contents/calendar.jpg" 
                        onclick="ImageButton1_Click" Width="20px" />
                    &nbsp;<asp:Label ID="lblFromDate" runat="server"></asp:Label>
            </td>
            <td class="style37">
                    <asp:Label ID="Label2" runat="server" 
                        Text="To Date"></asp:Label>
                    :<asp:ImageButton ID="ImgbtnTo" runat="server" Height="19px" 
                        ImageUrl="~/contents/calendar.jpg" onclick="ImgbtnTo_Click" Width="19px" />
                    <asp:Label ID="lblToDate" runat="server"></asp:Label>
            </td>            
            <td class="style37">
                    &nbsp;</td>            
            </tr>
            <tr>
            <td class="style38">
            <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
            BorderColor="#999999" DayNameFormat="Shortest" 
            Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="180px" 
            ondayrender="Calendar1_DayRender" 
            onselectionchanged="Calendar1_SelectionChanged" 
            Visible="False" Width="200px" CellPadding="4">
            <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" 
                    Font-Size="7pt" />
            <NextPrevStyle VerticalAlign="Bottom" />
            <OtherMonthDayStyle ForeColor="#808080" />
            <SelectedDayStyle BackColor="#666666" Font-Bold="True" 
                    ForeColor="White" />
                <SelectorStyle BackColor="#CCCCCC" />
            <TitleStyle BackColor="#999999" Font-Bold="True" 
                    BorderColor="Black" />
            <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                <WeekendDayStyle BackColor="#FFFFCC" />
        </asp:Calendar>
            </td>
            <td class="style37">
                <asp:Calendar ID="Calendar2" runat="server" BackColor="White" 
                    BorderColor="#999999" CellPadding="4" DayNameFormat="Shortest" 
                    Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="180px" 
                    ondayrender="Calendar2_DayRender1" 
                    onselectionchanged="Calendar2_SelectionChanged1" Visible="False" Width="200px">
                    <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                    <NextPrevStyle VerticalAlign="Bottom" />
                    <OtherMonthDayStyle ForeColor="#808080" />
                    <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                    <SelectorStyle BackColor="#CCCCCC" />
                    <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
                    <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                    <WeekendDayStyle BackColor="#FFFFCC" />
                </asp:Calendar>
            </td>            
            <td class="style37">
                &nbsp;</td>            
            </tr>
            </table>
    
   
    <table class="style4" style="margin-top: 0px" bgcolor="White">
            <tr>
                <td bgcolor="White" class="style23">
                <asp:GridView ID="RegDetails" runat="server" autogeneratecolumns="False" 
                    CellPadding="3" ForeColor="#333333" 
                    GridLines="None" OnRowCommand="reqDetails_RowCommand" onrowupdating="RegDetails_RowUpdating"
                    Width="600px" DataKeyNames="ReqFormId" 
                        onselectedindexchanged="RegDetails_SelectedIndexChanged" AllowPaging="True" 
                        onpageindexchanging="RegDetails_PageIndexChanging" 
                        style="margin-left: 8px" EmptyDataText="No Data for this Selection" Height="16px" 
                    >
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    <columns>
                        
                        <asp:boundfield datafield="ReqFormId" HeaderText="Req Form ID" />
                        <asp:boundfield datafield="RequestedDate" HeaderText="Applied Date" />
                        <asp:boundfield datafield="Status" HeaderText="Status" />
                        <asp:ButtonField ButtonType="Button" CommandName="ViewDetail" Text="View Details" />
                    </columns>
                    <EditRowStyle BackColor="#999999" />
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" 
                        BorderStyle="Groove" />
                    <PagerSettings Mode="NextPreviousFirstLast" FirstPageText="First" 
                        LastPageText="Last" NextPageText="Next" PreviousPageText="Previous" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                </asp:GridView>
                </td>
                <td bgcolor="White" class="style18">
                    &nbsp;</td>
                <td bgcolor="White" class="style20">
                    
                    
                </td>
                <td>
                    &nbsp;</td>
            </tr>
</table>
<p>
        &nbsp;</p>
<p>
        &nbsp;</p>
<p>
        &nbsp;</p>
<p>
        &nbsp;</p>
<p>
        &nbsp;</p>
<p>
        &nbsp;</p>
<p>
        &nbsp;</p>
<p>
        <br />
    </p>

    </div>
    </td></tr></table>
    </asp:Content>
